import * as API from'./index'

//获取商品信息
export const getProduct=(params)=>{
    return API.GET('/api/v1/products',{params:params})
}

//根据id获取商品详情

export const detailProduct=(params)=>{
    return API.GET('/api/v1/products/'+params)
}
